package cn.itcast.bos.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import cn.itcast.bos.domain.base.Area;

public interface AreaService {

	/**
	 * 批量导入区域信息
	 * @param areaList
	 */
	void batchImprotArea(List<Area> areaList);

	/**
	 * 分页查询
	 * @param pageable
	 * @param spec
	 * @return
	 */
	Page<Area> findByPage(Pageable pageable, Specification<Area> spec);

}
